<?php
    class Controller{
        public $request;

        public function __construct($request){
            $this->request = $request;
        }

        public function assign($key,$value){
            $this->request->vars[$key] = $value ;
        }

        public function display($template){
            $this->request->template = $template ;
        }
    }